home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / dev / c / vbcc.lha / vbcc / targets / ppc-warpos / include / limits.h < prev    next >
C/C++ Source or Header  |  2001-04-28  |  678b  |  31 lines

  1. #pragma begin_header
  2. #ifndef __LIMITS_H
  3. #define __LIMITS_H 1
  4.  
  5. #define MB_LEN_MAX 1
  6.  
  7. #define CHAR_BIT 8
  8. #define INT_MAX 2147483647
  9. #define INT_MIN (-2147483647-1)
  10. #define LONG_MAX 2147483647L
  11. #define LONG_MIN (-2147483647L-1)
  12. #define SCHAR_MAX +127
  13. #define SCHAR_MIN (-128)
  14. #define CHAR_MAX SCHAR_MAX
  15. #define CHAR_MIN SCHAR_MIN
  16. #define SHRT_MAX 32767
  17. #define SHRT_MIN (-32768)
  18. #define UCHAR_MAX 255U
  19. #define UINT_MAX 4294967295U
  20. #define ULONG_MAX 4294967295UL
  21. #define USHRT_MAX 65535U
  22.  
  23. #if __STDC_VERSION__ == 199901
  24. #define LLONG_MIN (-9223372036854775807LL-1)
  25. #define LLONG_MAX 9223372036854775807LL
  26. #define ULLONG_MAX 18446744073709551615ULL
  27. #endif
  28.  
  29. #endif
  30. #pragma end_header
  31.